package com.sunwayworld.basemodule.business.qualitycontrol.qualitycontrolplan.resource;

import com.alibaba.fastjson.JSONObject;
import com.sunwayworld.basemodule.business.qualitycontrol.qualitycontrolplan.bean.LimsQualitycontrolplanProjectBean;
import com.sunwayworld.basemodule.business.qualitycontrol.qualitycontrolplan.service.LimsQualitycontrolplanProjectService;
import com.sunwayworld.framework.restful.data.RestJsonWrapperBean;
import com.sunwayworld.framework.support.base.resource.GenericResource;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;

@RequestMapping("/secure/basemodule/business/qualitycontrol/qualitycontrolplan-projects")
public interface LimsQualitycontrolplanProjectResource extends GenericResource<LimsQualitycontrolplanProjectService, LimsQualitycontrolplanProjectBean, Long> {
    @PostMapping(value = "/controlrule-select")
    JSONObject getControlRuleSelections(RestJsonWrapperBean jsonWrapperBean);
}
